package InterfaceDemo;

import java.util.ServiceLoader;

public class HomeInterface {
	public static void main(String[] args) {
		System.out.println("111");
	
		   ServiceLoader<IServiceLoaderTest> serviceLoader = ServiceLoader.load(IServiceLoaderTest.class);

	        for(IServiceLoaderTest face:serviceLoader) {
						String s = face.doSome();
						System.out.println("res "+s);
					}
	}
}
